package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the TM_ERROR database table.
 * 
 */
@Entity
@Table(name="TM_ERROR")
public class TmError implements Serializable {
	private static final long serialVersionUID = 1L;
	private String errorCodigo;
	private String errDescripcion;
	private String errField1;
	private BigDecimal errField2;
	private BigDecimal errLevel;
	private BigDecimal errMail;

    public TmError() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="ERROR_CODIGO", unique=true, nullable=false, length=6)
	public String getErrorCodigo() {
		return this.errorCodigo;
	}

	public void setErrorCodigo(String errorCodigo) {
		this.errorCodigo = errorCodigo;
	}


	@Column(name="ERR_DESCRIPCION", nullable=false, length=126)
	public String getErrDescripcion() {
		return this.errDescripcion;
	}

	public void setErrDescripcion(String errDescripcion) {
		this.errDescripcion = errDescripcion;
	}


	@Column(name="ERR_FIELD_1", length=254)
	public String getErrField1() {
		return this.errField1;
	}

	public void setErrField1(String errField1) {
		this.errField1 = errField1;
	}


	@Column(name="ERR_FIELD_2")
	public BigDecimal getErrField2() {
		return this.errField2;
	}

	public void setErrField2(BigDecimal errField2) {
		this.errField2 = errField2;
	}


	@Column(name="ERR_LEVEL")
	public BigDecimal getErrLevel() {
		return this.errLevel;
	}

	public void setErrLevel(BigDecimal errLevel) {
		this.errLevel = errLevel;
	}


	@Column(name="ERR_MAIL")
	public BigDecimal getErrMail() {
		return this.errMail;
	}

	public void setErrMail(BigDecimal errMail) {
		this.errMail = errMail;
	}

}